﻿CREATE TABLE [dbo].[Categories]
(
	[Id] [smallint] IDENTITY(1,1) NOT NULL,
	[ParentId] [smallint] NULL,
	[Code] [varchar](50) NOT NULL,
	[Name] [varchar](500) NOT NULL,
	[Level] [tinyint] NOT NULL,
	[Convention] [varchar](50) NOT NULL,
	[CategoryUniverseId] smallint NULL,
	[CategoryRoleId] smallint NULL
)
